from optparse import OptionParser

class options:
    def __init__(self):
        self.parser = OptionParser()
        usage = "usage: %prog -f fund's id to adjust net value."
        self.parser = OptionParser(usage=usage)
        self.parser.add_option("-f", "--fundId",help="Fund to adjust net value"),

    def parse(self,args=None):
        (options, args) = self.parser.parse_args()
        if options.fundId:
            return options.fundId
        else:
            return ""
